using System;
using System.Collections.Generic;
using System.Text;

namespace Workflows.Components.TextMining.FullTextSearch
{
    public enum FullTextProviderType
    {
        DatabaseFullTextCatalog = 0,
        TextFiles = 1,
        BinaryFiles = 2
    }

    [Serializable]
    public class CorpusProvider
    {
        private FullTextProviderType _ProviderType;

        public FullTextProviderType ProviderType
        {
            get { return _ProviderType; }
            set { _ProviderType = value; }
        }

        private string _ConnectionString;

        public string ConnectionString
        {
            get { return _ConnectionString; }
            set { _ConnectionString = value; }
        }

        private string _TableName;

        public string TableName
        {
            get { return _TableName; }
            set { _TableName = value; }
        }

        private string _KeyFieldName;

        public string KeyFieldName
        {
            get { return _KeyFieldName; }
            set { _KeyFieldName = value; }
        }

        private string _FullTextFieldName;

        public string FullTextFieldName
        {
            get { return _FullTextFieldName; }
            set { _FullTextFieldName = value; }
        }

        private string _FolderPath;

        public string FolderPath
        {
            get { return _FolderPath; }
            set { _FolderPath = value; }
        }

        private bool _IncludeSubfolders;

        public bool IncludeSubFolders
        {
            get { return _IncludeSubfolders; }
            set { _IncludeSubfolders = value; }
        }

        private string _FileNamePattern;

        public string FileNamePattern
        {
            get { return _FileNamePattern; }
            set { _FileNamePattern = value; }
        }
	
    }
}
